function setCookie(c_name, value, expiredays)
{
    var exdate=new Date();
    exdate.setDate(exdate.getDate()+expiredays);
    document.cookie=c_name+ "=" +encodeURIComponent(value)+
    ((expiredays==null) ? "" : ";expires="+exdate.toGMTString());
}
         
function login_OnSubmit() {    
    var tz_offset = new Date().getTimezoneOffset()/60*-1;
    document.getElementById("tz_offset").value = tz_offset;    
}

function doSomeAction() {
    alert(1);
}